<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			/* 方式一 */
			/* html,body {
				height: 100%;
				margin: 0;
				padding: 0;
			} */
			
			/* .d1 {
				background-image: url(../img/1.jpg);
				height: 100%;
				background-repeat: no-repeat;
				background-size: 100% 100%;
			} */
			
			/* 方式二 */
			body {
				background-image: url(../img/1.jpg);
				background-size: 100% 100%;
				background-attachment: fixed;
			}
		</style>
	</head>
	<body>
		<div class="d1">
			
		</div>
	</body>
</html>
